package com.buyingtickets.entity;

/**
 * @author Hexz
 * @date 2021/6/23 23:09
 */
public class Passenger {
    private int passengerId;//乘客ID
    private String passengerName;//乘客姓名
    private Type idType;//证件类型
    private String idNumber;//证件号码
    private Type documentTyp;//乘客类型
    private String contactName;//联系人姓名
    private String contactTle;//联系人电话
    private User user;//用户对象

    @Override
    public String toString() {
        return "Passenger{" +
                "passengerId=" + passengerId +
                ", passengerName='" + passengerName + '\'' +
                ", idType=" + idType +
                ", idNumber='" + idNumber + '\'' +
                ", documentTyp=" + documentTyp +
                ", contactName='" + contactName + '\'' +
                ", contactTle='" + contactTle + '\'' +
                ", user=" + user +
                '}';
    }

    public int getPassengerId() {
        return passengerId;
    }

    public void setPassengerId(int passengerId) {
        this.passengerId = passengerId;
    }

    public String getPassengerName() {
        return passengerName;
    }

    public void setPassengerName(String passengerName) {
        this.passengerName = passengerName;
    }

    public Type getIdType() {
        return idType;
    }

    public void setIdType(Type idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Type getDocumentTyp() {
        return documentTyp;
    }

    public void setDocumentTyp(Type documentTyp) {
        this.documentTyp = documentTyp;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactTle() {
        return contactTle;
    }

    public void setContactTle(String contactTle) {
        this.contactTle = contactTle;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
